import request from "./http";


// 获取搜索页面详情
export function getsearchdetails(){
    return request({
        url:"/book/search/merge",
        method:"get",
        params:{
            appKey:"4037465544"
        }
    })
}
//模糊搜索
// http://api.17k.com/book/search/prenew?keyword=%E4%BF%AE%E7%BD%97%E6%AD%A6%E7%A5%9E&appKey=4037465544
export function getsearchlist(params){
    return request({
        url:"/book/search/prenew",
        method:"get",
        params
    })
}

//搜索数据
//http://api.17k.com/book/search/list?num=20&page=1&keyword=%E4%BF%AE%E7%BD%97%E6%AD%A6%E7%A5%9E&appKey=4037465544
export function getsearchobj(params){
    return request({
        url:"/book/search/list",
        method:"get",
        params
    })
}